←Select platform

DictionaryWithEvents<TKey,TValue> Class Members

Summary

The following tables list the members exposed by DictionaryWithEvents<TKey,TValue>.

Public Constructors

Name Description
DictionaryWithEvents<TKey,TValue> Initializes a new instance of the DictionaryWithEvents<TKey,TValue>.

Public Methods

Name Description
Add Adds the specified key and value to the dictionary.
Clear Removes all keys and values from the DictionaryWithEvents<TKey,TValue>.
Contains Determines whether the IDictionary contains an element with the specified item.
ContainsKey Determines whether the DictionaryWithEvents<TKey,TValue> contains the specified key.
CopyTo Copies the elements of the ICollection to an array of type KeyValuePair, starting at the specified array index.
GetEnumerator Returns an enumerator that iterates through the DictionaryWithEvents<TKey,TValue>.
Remove Removes the value with the specified key from the DictionaryWithEvents<TKey,TValue>.
TryGetValue Gets the value associated with the specified key.

Protected Methods

Name Description
OnItemAdded Raises the ItemAdded event.
OnItemRemoved Raises the ItemRemoved event.
OnItemUpdated Raises the ItemUpdated event.

Public Properties

Name Description
Count Gets the number of key/value pairs contained in the DictionaryWithEvents<TKey,TValue>.
IsReadOnly Gets a value indicating whether the dictionary is read-only.
Item Gets or sets the value associated with the specified key.
Keys Gets a collection containing the keys in the DictionaryWithEvents<TKey,TValue>.
Values Gets a collection containing the values in the DictionaryWithEvents<TKey,TValue>.

Public Events

Name Description
ItemAdded Occurs when an item is added into the DictionaryWithEvents<TKey,TValue>.
ItemRemoved Occurs when an item is removed from the DictionaryWithEvents<TKey,TValue>.
ItemUpdated Occurs when an item in the DictionaryWithEvents<TKey,TValue> is updated.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly